package com.ax.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TabSysUsers entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "TabSysUsers", schema = "dbo", catalog = "uploadDown")
public class TabSysUsers implements java.io.Serializable {

	// Fields

	private Integer uid;
	private String uname;
	private String upassword;
	private Integer ustatus;

	// Constructors

	/** default constructor */
	public TabSysUsers() {
	}

	/** full constructor */
	public TabSysUsers(String uname, String upassword, Integer ustatus) {
		this.uname = uname;
		this.upassword = upassword;
		this.ustatus = ustatus;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "UID", unique = true, nullable = false)
	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	@Column(name = "UName", nullable = false, length = 50)
	public String getUname() {
		return this.uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	@Column(name = "UPassword", nullable = false, length = 50)
	public String getUpassword() {
		return this.upassword;
	}

	public void setUpassword(String upassword) {
		this.upassword = upassword;
	}

	@Column(name = "UStatus", nullable = false)
	public Integer getUstatus() {
		return this.ustatus;
	}

	public void setUstatus(Integer ustatus) {
		this.ustatus = ustatus;
	}

}